<template>
  <div class="title">
    <slot :title="title">
        {{title }}
    </slot>
  </div>
</template>

<script setup lang="ts">
import { defineProps } from "vue";
const {title} = defineProps({ title: String });
</script>

<style scoped lang="scss">
.title {
  width: 100%;
  height: 100%;
  background: url("../../assets/images/topleft.png") no-repeat 0 0/100% 100%;
  padding-left: 10px;
  box-sizing: border-box;
  div {
    color: white;
    font-weight: bold;
    font-size:19px;
  }
}
</style>
